package com.gk.panda.apis.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author wym
 * @date 2022/11/15 16:42
 */
@Data
@ApiModel("设备点位添加请求实体")
public class EquipmentPointDto {

    //设备类型
    @ApiModelProperty(value = "修改的id")
    private Integer updateId;

    //设备类型
    @ApiModelProperty(value = "设备类型")
    private String equipmentType;
    //机构id
    @ApiModelProperty(value = "机构id")
    private Integer orgId;

    //设备名称
    @ApiModelProperty(value = "设备名称")
    private String equipmentName;

    //设备id
    @ApiModelProperty(value = "设备id")
    private Integer equipmentId;

    //图标
    @ApiModelProperty(value = "图标")
    private String icon;

    //转换后的geoJson
    private String geoJson;

    //创建人
    private String createBy;

    //修改人
    private String updateBy;

    //纬度
    @ApiModelProperty(value = "纬度")
    @NotBlank(message = "纬度不能为空")
    private String latitude;

    //经度
    @ApiModelProperty(value = "经度")
    @NotBlank(message = "经度不能为空")
    private String longitude;


}
